<% contact_id = "contact_#{contact.id}" %>
 <div class="dragable" id=<%= contact_id %>>
   <%= link_to contact.name, contact %>
 </div>
<%= draggable_element(contact_id, :revert=>true) %>